export const routes:any =  {
    index: {
        path: '/pages/public/index',
        animationType: 'fade-in'
    },
    login: {
        path: '/pages/public/login',
        mode: 'reLaunch',
        animationType: 'none'
    },
    register: {
        path: '/pages/public/register',
        mode: 'navigateTo',
        animationType: 'slide-in-bottom'
    },
    home: {
        path: '/pages/index/tabbar/home',
        mode: 'switchTab',
        requiresLogin: true,
        requiresAuth: true
    },
    scanWebview: {
        path: '/pages/index/home/scanWebview'
    },
    cart: {
        path: '/pages/index/tabbar/cart',
        mode: 'switchTab',
        requiresLogin: true,
        requiresAuth: true
    },
    // 消息中心
    messageCenter: {
        path: '/pages/message-center/message-center',
        requiresLogin: true,
        requiresAuth: true
    },
    policy: {
        path: '/pages/common/aboutus/policy', // 隐私政策页面
        mode: 'navigateTo'
    },
    search: {
        path: '/pages/good/search',
        mode: 'navigateTo',
        requiresLogin: true,
        requiresAuth: true
    },
    details: {
        path: '/pages/good/details/index', // 商品详情页
        mode: 'navigateTo',
        requiresAuth: true,
        requiresLogin: true
    },
    category: {
        path: '/pages/index/product/index', // 分类
        mode: 'switchTab',
        requiresLogin: true,
        requiresAuth: true
    },
    orderResult: {
        path: '/pages/order/orderResult', // 订单结果
        mode: 'navigateTo'
    },
    payResult: {
        path: '/pages/pay/payResult', // 支付结果
        mode: 'navigateTo'
    },
    checkstand: {
        path: '/pages/pay/checkstand', //收银台
        mode: 'navigateTo'
    },
    creditCheckstand: {
        path: '/pages/pay/credit-checkstand', //收银台
        mode: 'navigateTo'
    },
    imagesShare: {
        path: '/pages/good/good-imgaes/good-imgaes', //商品图片下载及分享
        mode: 'navigateTo'
    },
    list: {
        path: '/pages/good/list/index', //商品列表
        mode: 'navigateTo',
        requiresLogin: true,
        requiresAuth: true
    },
    confirmOrder: {
        path: 'pages/order/order-confirm/confirmOrder', // 订单确认
        mode: 'navigateTo'
    },
    payOffline: {
        path: '/pages/pay/payOffline', // 线下支付
        mode: 'navigateTo'
    },
    receiveAddress: {
        path: '/pages/common/address-manager/address-manager', //收货地址
        requiresLogin: true
    },
    editReceiveAddress: {
        path: '/pages/common/address-manager/address-edit', // 修改收货地址
        mode: 'navigateTo',
        requiresLogin: true
    },
    notice: {
        path: '/pages/message/notice',
        mode: 'navigateTo',
        requiresLogin: true,
        requiresAuth: true
    },
    my: {
        path: '/pages/mine/index', // 我的页面
        mode: 'switchTab',
        requiresLogin: true
    },
    setNickName: {
        path: '/pages/setup/setNIckname', // 修改昵称
        mode: 'navigateTo',
        requiresLogin: true
    },
    setProfile: {
        path: '/pages/common/setup/profile', // 修改个人信息
        mode: 'navigateTo',
        requiresLogin: true
    },
    handleCredit: {
        path: '/pages/credit/handleCredit', // 申请开通 授信  目前没有使用
        mode: 'navigateTo',
        requiresLogin: true
    },
    result: {
        path: '/pages/tools/result', // 操作结果确认页
        mode: 'navigateTo'
    },
    aboutus: {
        path: '/pages/common/aboutus/index', // 关于我们
        mode: 'navigateTo'
    },
    myFavorites: {
        path: '/pages/common/favorites/index', //我的收藏
        mode: 'navigateTo',
        requiresLogin: true
    },
    MyContract: {
        path: 'pages/common/contract/contract', //我的合同
        mode: 'navigateTo',
        requiresLogin: true
    },
    signResult: {
        path: 'pages/commonFun/contract/signResult', // 合同签订结果
        mode: 'navigateTo',
        requiresLogin: true
    },
    certification: {
        path: '/pages/common/realName/index', // 实名认证
        mode: 'navigateTo',
        requiresLogin: true
    },
    authStep: {
        path: '/pages/commonFun/realName/authStep', //个体认证-商家信息
        requiresLogin: true
    },
    credit: {
        path: '/pages/credit/credit', // 授信
        requiresLogin: true
    },
    futureBill: {
        path: '/pages/credit/future-bill/future-bill', // 未出账记录
        requiresLogin: true
    },
    refund: {
        path: '/pages/credit/refund/refund', //还款
        requiresLogin: true
    },
    myBill: {
        path: '/pages/credit/my-bill/my-bill', //账单还款
        requiresLogin: true
    },
    orderRecord: {
        path: '/pages/credit/order-records/index', //订单记录
        requiresLogin: true
    },
    refundRecord: {
        path: '/pages/credit/refund/refund-record', // 还款记录
        requiresLogin: true
    },
    overdueFine: {
        path: '/pages/credit/overdue/overdue-fine', // 滞纳金记录
        requiresLogin: true
    },
    billRecord: {
        path: '/pages/credit/bill-record/bill-record', // 账单记录
        requiresLogin: true
    },
    forgetPassword: {
        path: '/pages/common/setup/forget-password' //忘记密码
    },
    setup: {
        path: '/pages/common/setup/setup', // 设置 - 登录 密码  微信绑定
        requiresLogin: true
    },
    orderManager: {
        path: '/pages/order/manager/index', //订单管理
        requiresLogin: true
    },
    orderDetail: {
        path: '/pages/order/orderDetail' //订单详情
    },
    expressInfo: {
        path: '/pages/order/expressInfo', // 物流信息
        requiresLogin: true
    },
    expressWaybill: {
        path: '/pages/order/expressWaybill' // 物流信息
    },
    QA: {
        path: '/pages/message/QA' // Q&A
    },
    msgDeatil: {
        path: '/pages/message/msgDeatil', //通知详情
        requiresLogin: true
    },
    imChat: {
        path: '/pages/message/im/imChat', //即时通讯 在线客服
        requiresLogin: true
    },
    helpCenter: {
        path: 'pages/common/service/help-center' //帮助中心
    },
    appUpdate: {
        path: '/pages/public/appUpdate' // 应用更新页面
    },
    webView: {
        path: '/pages/tools/webview' // web view 暂时用于合同签订 页面
    },
    fullScreen: {
        path: '/pages/tools/fullscreen' // 预览合同
    },
    custom: {
        path: '/pages/tools/customPage' //用于idtyppe为5 时的自定义跳转
    },
    invoice: {
        path: '/pages/common/invoice/invoice', //开具发票
        requiresLogin: true
    },
    history: {
        path: '/pages/common/history/index', // 我的足迹
        requiresLogin: true
    },
    invoiceHistory: {
        path: 'pages/common/invoice/history' // 开票记录
    },
    invoiceDetail: {
        path: 'pages/commonFun/invoice/invoice-detail' // 发票详情
    },
    invoiceStep: {
        path: 'pages/commonFun/invoice/invoice-step' // 开票申请
    },
    invoiceDetailContent: {
        path: 'pages/commonFun/invoice/invoice-detail-content' //发票详情明细
    },
    aftersales: {
        path: 'pages/aftersales/index', // 售后
        requiresLogin: true
    },
    salesReturn: {
        path: 'pages/order/aftersales/salesReturn/salesReturn' // 退货
    },
    orderRefund: {
        path: 'pages/order/aftersales/refund/refund' //退款
    },
    receiveList: {
        path: 'pages/order/manager/receive-list/receive-list' // 收货清单
    },
    feedback: {
        path: 'pages/message/feedback/feedback' // 意见反馈
    },
    refundDetail: {
        path: 'pages/order/aftersales/refund/refund-detail' // 退款详情
    },
    saleshowDetail: {
        path: 'pages/good/saleshow/show-detail',
        requiresLogin: true
    },
    SALESRD: {
        path: 'pages/aftersales/refund-with-good/detail' //退货详情
    },
    inputExpressInfo: {
        path: 'pages/order/aftersales/salesReturn/inputExpressInfo' // 填写物流信息
    },
    feedbackHistory: {
        path: 'pages/common/feedback-history/list', // 意见反馈历史
        requiresLogin: true
    },
    feedDetail: {
        path: 'pages/common/feedback-history/details' // 反馈详情
    },
    wxShare: {
        path: 'pages/good/wx-share/wx-share' // 微信图片分享下载
    },
    myWallet: {
        path: 'pages/commonFun/myWallet/myWallet' //我的钱包
    },
    paymentDetail: {
        path: 'pages/commonFun/myWallet/details' // 支付明细
    },
    datePick: {
        path: 'pages/commonFun/myWallet/datePicker/datePicker'
    },
    myRights: {
        path: 'pages/common/my-rights/index', // 我的权益
        requiresLogin: true,
        requiresAuth: true
    },
    experience: {
        path: 'pages/commonFun/experience/experience', // 我的经验值
        requiresLogin: true,
        requiresAuth: true
    },
    cash: {
        path: 'pages/commonFun/cash/cash' // 提现
    },
    realNameResult: {
        path: 'pages/commonFun/realName/real-name-res'
    },
    test: {
        path: 'pages/test/test'
    },
    accountManage: {
        path: 'pages/common/account-manager/index'
    },
    skuCountEdit: {
        path: 'pages/tools/sku-count/sku-count-edit',
        requiresLogin: true,
        requiresAuth: true,
        animationType: 'slide-in-bottom'
    },
    skuCountEditSub: {
        path: 'pages/tools/sku-count/sku-count-edit-sub',
        animationType: 'slide-in-right'
    },
    regContent: {
        path: 'pages/public/register-content/register-content' // 注册 输入内容 页
    },
    regSuccess: {
        path: 'pages/public/reg-success'
    },
    vedioPlay: {
        path: 'pages/tools/vedio-full-play'
    },
    writeOff: {
        path: '/pages/common/setup/write-off'
    },
    billNoticeList: {
        path: '/pages/message/bill-notice/bill-notice'
    },
    imageOperater: {
        path: '/pages/good/image-operater/image-operater'
    },
    orderFilter: {
        path: '/pages/order/order-filter/order-filter'
    },
    smartService: {
        path: '/pages/common/service/smart-service'
    },
    evaluation: {
        path: '/pages/tools/evaluation'
    },
    templateSelect: {
        path: '/pages/good/saleshow/configSelect'
    },
    merge2pay:{
        path: '/pages/order/merge-pay/merge-pay'
    }
}
